<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>错误数据管理管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="#">会员信息列表</a></li>
	</ul>
	<tags:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered ">
		<thead><tr><th>会员名称</th><th>微信号</th><th>手机号</th><th>分数</th><th>创建时间</th><shiro:hasPermission name="sys:errorData:edit"><th>操作</th></shiro:hasPermission></tr></thead>
		<tbody>
		<c:forEach items="${list}" var="var">
			<tr>
				<td>${var.name}</td>
				<td>${var.wechat_id}</td>
				<td>${var.mobile}</td>
				<td>${var.score}</td>
				<td>${var.create_time}</td>
				<shiro:hasPermission name="sys:errorData:edit"><td>
    				<a href="${ctx}/sys/errorData/delete?id=${var.id}&mobile=${mobile}&user_id=${user_id}" onclick="return confirmx('确认要删除该数据吗？', this.href)">删除</a>
    				<a href="${ctx}/wechat/memberScore?wechatMember.id=${var.id}">积分记录</a>
				</td>
				</shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
</body>
</html>
